package com.changgou.filters;

public class URLFilter {
    private static final String noAuthorizeurls = "/api/user/add,/api/user/login";

    public static boolean hasAuthorize(String uri) {
        String[] split = noAuthorizeurls.split(",");

        for (String s : split) {
            if (s.equals(uri)) {
                return true;
            }
        }
        return false;
    }
}
